package com.paradogs.gs.misc;

import com.paradogs.gs.modules.Player;
import com.paradogs.gs.modules.GameObject;
import lombok.extern.slf4j.Slf4j;

/**
 * @author: yumi
 * @date: 2024/10/15  18:42
 * @Description: TODO
 */
@Slf4j
public abstract class BaseManager implements IManager {

    private GameObject gameObject;

    public Player owner() {
        return (Player) gameObject;
    }

    @Override
    public void loadData(GameObject gameObject) {
        this.gameObject = gameObject;
    }
}
